package com.sy.behavioral.observer;

public class MainTest {

    public static void main(String[] args) {
        ShenTikTok shenTikTok = new ShenTikTok();
        shenTikTok.start();
        shenTikTok.end();

        AbstractFans robotFans = new RobotFans();
        AbstractFans humanFans = new HumanFans();

        robotFans.follow(shenTikTok);
        humanFans.follow(shenTikTok);

        shenTikTok.start();
        shenTikTok.end();

    }

}
